from .car_operator import Operate

def pos_to_direction(origin, dest):
    return Operate.FORWARD.value

def is_arrive(origin, dest):
    pos1 = origin.split(',')
    pos2 = dest.split(',')

    pos1 = list(map(float, pos1))
    pos2 = list(map(float, pos2))

    if abs(pos1[0]-pos2[0]) < 5 and abs(pos1[1]-pos2[1]):
        return True
    return False

def hello():
    print("hello")
